]> dgit.raspbian.org Git - gnome-shell.git/commit
tests/fittsy: Await leisure before checking fittsiness
authorJonas Ådahl <jadahl@gmail.com>
Fri, 28 Jun 2024 21:01:12 +0000 (23:01 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 28 Jun 2024 21:52:19 +0000 (21:52 +0000)
commit99a36210b62c4a4db9a5d71f4be030bb5fb976e3
treee10fcaa7fd06b2b87d6489217010229c7161eb19
parent976c99c5e3edf45c938bdd338c1daec45477316c
tests/fittsy: Await leisure before checking fittsiness

Not until we've waited for leisure can we make precise assumptions about
otherwise animated actors sizes and positions, so do that before
checking fittsiness.

This should fix the flakyness of the fittsy test case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3398>
tests/shell/fittsy.js